

/*验证登陆cookie*/
function login_v(){
	var cookie = document.cookie;
	var cookies = cookie.split(';');
	for(var i=0;i<cookies.length;i++){
		var temp_arr = cookies[i].split('=');
		if(temp_arr[0].trim() == 'uid' && temp_arr[1] > 0){
			sessionStorage.uid = temp_arr[1];
			var login_stat = true;
		}
	}
	if(!login_stat){
		alert('请先登陆!');
		location.href='service_login.html';exit;
	}
}